#ifndef __UNHOLY_LIGHT_H__
#define __UNHOLY_LIGHT_H__
#include "gofgame/dungeonkeeper/game/Skill.h"
#include "gofgame/dungeonkeeper/game/skill/Buffer.h"
#include "gofgame/dungeonkeeper/game/Unit.h"

using namespace gofgame::dungeonkeeper::game::skill;
using namespace gofgame::dungeonkeeper::game::unit;

namespace gofgame {
	namespace dungeonkeeper {
		namespace game {
			namespace skill {
				class UnholyLight :public Skill {
				public:
					UnholyLight(int lv);
					virtual void cast();
					static UnholyLight * create(int lv);
					bool init();
					void updateTarget(float dt);
					void addEffectToTarget(Unit *unit);
				};

				class UnholyLightBuffer : public Buffer {
				public :
					bool init();
					CREATE_FUNC(UnholyLightBuffer);
					void effect(Unit *unit);
					void update(float dt);
				};
			}
		}
	}
}

#endif //__UNHOLY_LIGHT_H__
